From: Florian Müllner Date: Thu, 13 Jan 2011 22:48:51 +0000 (+0100) Subject: generic-container: Queue a redraw in skip_paint() X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9276 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=bed063eea16b0e43ae7e6166e6786769f4f06c2a;p=gnome-shell.git generic-container: Queue a redraw in skip_paint() When changing a child's visibility with skip_paint(), the change will not be visible until a redraw is triggered. Queue a redraw, so that the function has an immediate effect. https://bugzilla.gnome.org/show_bug.cgi?id=639461 --- diff --git a/src/shell-generic-container.c b/src/shell-generic-container.c index 8be3a96c5..c54ebf278 100644 --- a/src/shell-generic-container.c +++ b/src/shell-generic-container.c @@ -233,6 +233,8 @@ shell_generic_container_set_skip_paint (ShellGenericContainer *self, g_hash_table_remove (self->priv->skip_paint, child); else g_hash_table_insert (self->priv->skip_paint, child, child); + + clutter_actor_queue_redraw (CLUTTER_ACTOR (self)); } static void